<!DOCTYPE html>
<meta charset="UTF-8">
<h1>可以更改整行的背景等，不支持更改字体，如果想更改字体，可以利用前面的单元格样式</h1>
<table data-type="grid" title="行样式" style="width: 700px; height: 250px"
	data-define="
				singleSelect: true,
				iconCls: 'icon-save',
				method:'get',url: '${rc.contextPath}/assets/ui/jww/demo/testdata/grid_data1.json',fit:true,fitColumns:true,
				rowStyler: function(index,row){
					if (row.listprice < 300){
						return 'background:blue;';
					}
				}
			">
	<thead>
		<tr>
			<th data-define="field:'itemid',width:80,checkbox:true">ID</th>
			<th data-define="field:'productid',width:200">产品名称</th>
			<th data-define="field:'listprice',width:80,align:'right'">成本</th>
			<th data-define="field:'unitcost',width:80,align:'right'">单价</th>
			<th data-define="field:'attr1',width:100">属性</th>
			<th data-define="field:'status',width:60,align:'center'">状态</th>
		</tr>
	</thead>
</table>
